package com.jcsz.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jcsz.common.utils.PageUtils;
import com.jcsz.gulimall.product.entity.SpuInfoEntity;
import com.jcsz.gulimall.product.vo.SpuSaveVo;

import java.math.BigDecimal;
import java.util.Map;

/**
 * spu信息
 *
 * @author 一把Po吉他
 * @email volibear@gulimall.com
 * @date 2022-10-16 08:40:06
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveSpuInfo(SpuSaveVo spuSaveVo);

    PageUtils queryPageByCondition(Map<String, Object> params);

    void upProduct(Long spuId);


    SpuInfoEntity getSpuInfoBySkuId(Long skuId);
}

